<table id="list_container" style="width:810px;">
	<?php foreach ($this->paginator as $product): ?>
	<tr class="list_row">
		<td style="width: 150px">
			<div class="image_cover">
				<div style="text-align: center; display: block">
				<a href="<?php echo $this->pageUrl(array_merge($this->pageValues, array('target' => 'detail', 'id_product' => $product->id,'id_category'=>$product->getCustomCategory()->path))); ?>">
					<img class="pic_item" src="<?php echo $product->getPrimaryThumbImageUrl(); ?>"
						 title="<?php echo $this->escape($product->name); ?>"/>
				</a>
				</div>
			</div>
		</td>
		<td class="list_product_detail" style="width: 540px;">
			<div class="product_name">
				<a href="<?php echo $this->pageUrl(array_merge($this->pageValues, array('target' => 'detail', 'id_product' => $product->id,'id_category'=>$product->getCustomCategory()->path))); ?>">
					<?php echo $this->escape($product->getProductName()); ?>
				</a>
			</div>
			<?php if(!empty($product->description)):?>
				<div class="product_description">
					<?php echo $product->getDescription();?>
				</div>
	       <?php endif;?>
			<div class="product_price">
                <?php if(!empty($product->old_price)):?>
                   <span class='sale_price'> <?php echo (!empty($product->price))? $product->getPrice() : '&nbsp;'?></span><br><span class='old_price' > <?php echo $product->getOldPrice() ?></span> 
                <?php else :?>
                   <span class='sale_price'><?php echo (!empty($product->price))? $product->getPrice() : '&nbsp;'?></span>
                <?php endif;?>
			</div>
		</td>
		<td style="width: 120px;">
			<?php echo $this->social->render('recommendUrl', array(
				'url'			=>  $product->getShareUrl(array('id_page' => $this->social->getIdPage())),
				'product'		=>	$product,
				'pageValues'	=>	$this->pageValues,
				'horizontal'	=>	true,
				'requestMessage' => $this->translate('REQUEST_MESSAGE'),
				'send' => false,
				'width' => 'auto',
				'show_faces'=>false
			));
			?>
		</td>
	</tr>
	<?php endforeach; ?>
</table>
<div style="clear:both">&nbsp;</div>
<script>
	$('.recommend_back').ymProductItem({
		'hover' : false,
		'gravity' : 'se'
	});
</script>